using System;
using Sedna.Core.Controls;

namespace Sedna.Core.Controller.Configurations
{
	/// <summary>
	/// Default impelementation for ICompanyLocationConfiguration.
	/// </summary>
	public class CompanyLocationConfiguration: AddressTextFieldConfiguration, ICompanyLocationConfiguration
	{

		private string companyBindPath;
		private string companyUnbindPath;
		private string companyIdUnbindPath;

        private IEnterConfiguration enterConfiguration;
        private IAddressTextFieldConfiguration addressTextFieldConfiguration;

	    public IEnterConfiguration EnterConfiguration
	    {
	        get { return enterConfiguration; }
	        set { enterConfiguration = value; }
	    }

	    public IAddressTextFieldConfiguration AddressTextFieldConfiguration
	    {
	        get { return addressTextFieldConfiguration; }
	        set { addressTextFieldConfiguration = value; }
	    }

	    public string CompanyBindPath
		{
			get { return companyBindPath; }
			set { companyBindPath = value; }
		}

		public string CompanyUnbindPath
		{
			get { return companyUnbindPath; }
			set { companyUnbindPath = value; }
		}

		public string CompanyPath
		{
			set
			{
				companyBindPath=value;
				companyUnbindPath=value;
			}
		}
		
		public string CompanyIdUnbindPath
		{
			get { return companyIdUnbindPath; }
			set { companyIdUnbindPath = value; }
		}


	}
}
